package com.xinruke.hostels.system.manage.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yutaipu
 */
@ApiModel("交班模式修改请求结果DTO")
@Data
public class WorkModeQueryResultDTO {

    /**
     * id
     */
    @ApiModelProperty(value = "交班模式id", required = true)
    @NotNull(message = "交班模式id不能为空")
    private Integer id;

    /**
     * 模式
     */
    @ApiModelProperty(value = "模式")
    private String moshi;

    /**
     * 模式名称
     */
    private String moshiMingCheng;

    /**
     * 备用金
     */
    @ApiModelProperty(value = "备用金")
    private BigDecimal beiyongjin;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String miaoshu;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty("创建人id")
    private Integer chuangjianrenId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("更新时间")
    private Date gengxinshijian;

    @ApiModelProperty("更新人id")
    private Integer gengxinrenId;
}
